home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / time / srvtim.arc / READ.ME next >
Text File  |  1989-01-05  |  1KB  |  20 lines

  1. /* Program to set the default file server time to the setting of the
  2.  *  attached workstation clock.  Written by Alan Marshall, Proteon
  3.  *  1/5/89.  The program is accurate to within about 2 seconds between
  4.  *  setting and login to the server.  The resolution seems to be in the
  5.  *  setting algorithm within the file server.  The program uses the
  6.  *  SNIT.LIB routine from the 1988 Developer's Conference programs but
  7.  *  requires a patch to the library file to change an instruction in the
  8.  *  SetFileServerDateAndTime routine to make the year part work with the
  9.  *  Advanced 2.11 server software.  This patch can be made with debug
  10.  *  by searching for the sequence: 80,C0,94.  At that instruction (in the
  11.  *  first segment) change the 94 to 00 and write out the lib file.
  12.  *   The exe file supplied with this C source has the patch made.  It can
  13.  *  be made to the exe file after linking with snit.lib.
  14.  *    Good luck!
  15.  *    -Al Marshall
  16.  */
  17.  
  18. The program was written and tested on TurboC version 1.5.  Remember the 
  19. user of the program must have CONSOLE operator rights to make it work.
  20.